//csdn的广告
$(document).ready(function(){
    $("body").click(function () {
        try{
            var as = $("aside");
            for(var i=0;i<as.length;i++){
                as[i].remove();
            }
            //document.getElementsByTagName("aside")[0].style.display="none";
        }catch (e) {
        }
    })

    try{
        var so = $(".slide-outer");
        for(var i=0;i<so.length;i++)
            so[i].remove();
    }catch (e) {
    }

    try{
        var as = $("aside");
        for(var i=0;i<as.length;i++){
            as[i].remove();
        }
    }catch (e) {
    }

    try{
        $(".indexSuperise").remove();
    }catch (e) {
    }

    try{
        $(".banner-ad-box").remove();
    }catch (e) {
    }

    try{
        $("#adContent").remove();
        console.log( "adContent:"+$("#adContent"))
    }catch (e) {
    }

    try{
        $("#adContent-ad-box").remove();
    }catch (e) {
    }


    try{
        $("#layerd_left").remove();
    }catch (e) {
    }
    try{
        $("#layerd").remove();
    }catch (e) {
    }


    try{
        $("#article_content").attr("style","");
        var aa = $(".article_content.tracking-ad");
        aa.attr("style","");
        $(".hide-article-box.text-center").remove();
        document.getElementById("btn-readmore").parentElement.style.display="none";

    }catch (e) {
    }

    try{
        var a = $(".fourth_column");
        a[0].remove();
    }catch (e) {
    }


    try{
        document.getElementsByClassName("box-box-large")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByClassName("meau-gotop-box")[0].style.display="none";
    }catch (e) {
    }


    try{
        document.getElementsByClassName("box-box-default")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByClassName("recommend-right")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByClassName("recommend-left")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByTagName("aside")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByTagName("main")[0].style.width="100%";
    }catch (e) {
    }

    try{
        document.getElementsByClassName("pulllog-box")[0].style.display="none";
    }catch (e) {
    }

    var ifs = document.getElementsByTagName("iframe");
    for(var i = 0;i<ifs.length;i++){ifs[i].style.display="none";};

    try{
        document.getElementsByClassName("tool-box")[0].style.display="none";
    }catch (e) {
    }

    try{
        document.getElementsByClassName("ad-widget-imageplus-sticker")[0].style.display="none";
    }catch (e) {
    }

});



